<?php
/**
 * Created by PhpStorm.
 * User: Liulibao
 * Date: 2019/10/9
 * Time: 21:04
 */

namespace app\common\validate;


use think\Validate;

class Supplier extends Validate
{
    protected $rule = [
        ['commission_value', 'require|number|min:0|max:100', '请填写提成值|提成值必须是数字|0|:100']
    ];

    protected $scene = [
        'commission' => 'commission_value'
    ];
}